package com.zfzs.post.common.utils;

import com.zfzs.post.model.vo.QueryAddMerchantListVO;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author: ck
 * @create: 2019-10-23 14:16
 **/
@Data
public class MerchantType {

    private String name;

    private String type;

    private int totalCount;

    List<QueryAddMerchantListVO> list;

    public static List<MerchantType> getMerchantTypeList(){
        List<MerchantType> list = new ArrayList<>();
        MerchantType self = new MerchantType();
        self.setName("自营商户");
        self.setType("self");

        MerchantType partner = new MerchantType();
        partner.setName("合伙人商户");
        partner.setType("partner");

        MerchantType direct = new MerchantType();
        direct.setName("直营商户");
        direct.setType("direct");
        list.add(self);
        list.add(partner);
        list.add(direct);
        return list;
    }
}
